<?php echo $this->tinyMce;?>
<h1><?php echo $title;?></h1>

<?php
echo form_open('cevent/create');
echo "<div class='div-manipulate'>";
echo "<p><label for='title'>Title</label><br/>";
$data = array('name'=>'title','id'=>'title','size'=>25);
echo form_input($data) ."</p>";

echo "<p><label for='shortdesc'>Short Description</label><br/>";
$data = array('name'=>'shortdesc','id'=>'shortdesc','size'=>40);
echo form_input($data) ."</p>";

echo "<p><label for='fpath'>Path/FURL</label><br/>";
$data = array('name'=>'path','id'=>'fpath','size'=>50);
echo form_input($data) ."</p>";

echo "<p><label for='long'>Long Description</label><br/>";
$data = array('name'=>'longdesc','id'=>'long','rows'=>5, 'cols'=>'40');
echo form_textarea($data) ."</p>";

echo "<p><label for='activate'>Activate</label><br/>";
$options = array('1' => 'Active', '0' => 'Inactive');
echo form_dropdown('activate',$options,array(),'style="width:105px;"') ."</p>";
echo "</div>";

echo form_submit(array('class'=>'btn','name'=>'submit'),'Create Event');
//echo '<br>';
//echo '<button class="btn" type="button">Create Event</button>';
echo form_close();


?>